1100
How can I advance to the next line, once the user presses the ENTER key

// KeyDown event - Occurs when the user presses a key while an object has the focus.
private void exgrid1_KeyDown(object sender,ref short   KeyCode,short   Shift)
{
	System.Diagnostics.Debug.Print( "KeyCode Before:" );
	System.Diagnostics.Debug.Print( KeyCode.ToString() );
	KeyCode = exgrid1.FormatABC("value = 13 ? 40 : value",KeyCode,null,null);
	System.Diagnostics.Debug.Print( "KeyCode After:" );
	System.Diagnostics.Debug.Print( KeyCode.ToString() );
}
//this.exgrid1.KeyDown += new exontrol.EXGRIDLib.exg2antt.KeyDownEventHandler(this.exgrid1_KeyDown);

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	exontrol.EXGRIDLib.Editor var_Editor = (var_Columns.Add("A") as exontrol.EXGRIDLib.Column).Editor;
		var_Editor.Appearance = exontrol.EXGRIDLib.InplaceAppearanceEnum.EtchedApp;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.EditType;
	exontrol.EXGRIDLib.Editor var_Editor1 = (var_Columns.Add("B") as exontrol.EXGRIDLib.Column).Editor;
		var_Editor1.Appearance = exontrol.EXGRIDLib.InplaceAppearanceEnum.EtchedApp;
		var_Editor1.EditType = exontrol.EXGRIDLib.EditTypeEnum.EditType;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h0 = var_Items.AddItem("Item A.1");
	var_Items.set_CellValue(h0,1,"Item B.1");
	h0 = var_Items.AddItem("Item A.2");
	var_Items.set_CellValue(h0,1,"Item B.2");
exgrid1.EndUpdate();

1099
I am using AddNew to add new records, but I can not see them into the control

// ButtonClick event - Occurs when user clicks on the cell's button.
private void exgrid1_ButtonClick(object sender,int   Item,int   ColIndex,object   Key)
{
	// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
	ADODB.Recordset var_Recordset = (exgrid1.DataSource as ADODB.Recordset);
		var_Recordset.AddNew(null,null);
		var_Recordset.Fields["A"].Value = "new A";
		var_Recordset.Fields["B"].Value = "new B";
		var_Recordset.Update(null,null);
}
//this.exgrid1.ButtonClick += new exontrol.EXGRIDLib.exg2antt.ButtonClickEventHandler(this.exgrid1_ButtonClick);

exgrid1.BeginUpdate();
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Etched;
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Fields.Append("A",exontrol.ADODB.DataTypeEnum.adBSTR,0,null,null);
	rs.Fields.Append("B",exontrol.ADODB.DataTypeEnum.adBSTR,0,null,null);
	rs.Open(null,null,null,null,0);
	rs.AddNew(null,null);
	rs.Fields["A"].Value = "Item A.1";
	rs.Fields["B"].Value = "Item B.1";
	rs.Update(null,null);
	rs.AddNew(null,null);
	rs.Fields["A"].Value = "Item A.2";
	rs.Fields["B"].Value = "Item B.2";
	rs.Update(null,null);
exgrid1.DataSource = (rs as ADODB.Recordset);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_LockedItemCount(exontrol.EXGRIDLib.VAlignmentEnum.exTop,1);
	int h = var_Items.get_LockedItem(exontrol.EXGRIDLib.VAlignmentEnum.exTop,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellHasButton(h,0,true);
	var_Items.set_CellValue(h,0,"AddNew");
	var_Items.set_CellHAlignment(h,0,exontrol.EXGRIDLib.AlignmentEnum.CenterAlignment);
exgrid1.DetectAddNew = true;
exgrid1.DetectDelete = true;
exgrid1.EndUpdate();

1098
How can I create a new ADO recordset

exgrid1.BeginUpdate();
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Fields.Append("A",exontrol.ADODB.DataTypeEnum.adBSTR,0,null,null);
	rs.Fields.Append("B",exontrol.ADODB.DataTypeEnum.adBSTR,0,null,null);
	rs.Open(null,null,null,null,0);
	rs.AddNew(null,null);
	rs.Fields["A"].Value = "Item A.1";
	rs.Fields["B"].Value = "Item B.1";
	rs.Update(null,null);
	rs.AddNew(null,null);
	rs.Fields["A"].Value = "Item A.2";
	rs.Fields["B"].Value = "Item B.2";
	rs.Update(null,null);
exgrid1.DataSource = (rs as ADODB.Recordset);
exgrid1.EndUpdate();

1097
Do do I get the DAO version I have installed

System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );
System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );
System.Diagnostics.Debug.Print( new DAO.PrivDBEngine().Version );

1096
How do I get a list of interfaces the object implemenets

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft Office 15.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
// Add 'exontrol.expropertieslist.dll(ExPropertiesList.dll)' reference to your project.
System.Diagnostics.Debug.Print( new exontrol.EXPROPERTIESLISTLib.expropertieslist().get_Interfaces(rs) );
exgrid1.DataSource = (rs as DAO.Recordset2);
exgrid1.EndUpdate();

1095
Do do I get the ADO version I have installed

System.Diagnostics.Debug.Print( "ADO Version:" );
System.Diagnostics.Debug.Print( new ADODB.Connection().Version );

1094
DAO, ACCDB, 120

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft Office 15.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
exgrid1.DataSource = (rs as DAO.Recordset2);
exgrid1.EndUpdate();

1093
DAO, MDB, 120

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft Office 15.0 Access database engine Object Library(ACEDAO.DLL)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset2 rs = (var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",null,null,null).OpenRecordset("Orders",null,null,null) as DAO.Recordset2);
exgrid1.DataSource = (rs as DAO.Recordset2);
exgrid1.EndUpdate();

1092
DAO, MDB

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft DAO 3.6 Object Library(dao360.dll)' reference to your project.
DAO.PrivDBEngine var_PrivDBEngine = new DAO.PrivDBEngine();
	DAO.Recordset rs = var_PrivDBEngine.OpenDatabase("C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.mdb",null,null,null).OpenRecordset("Orders",null,null,null);
exgrid1.DataSource = (rs as DAO.Recordset);
exgrid1.EndUpdate();

1091
ADODB, ACCDB, x64

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenKeyset,exontrol.ADODB.LockTypeEnum.adLockReadOnly,0);
exgrid1.DataSource = (rs as ADODB.Recordset);
exgrid1.EndUpdate();

1090
ADOR, ACCDB

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgrid1.DataSource = (rs as ADODB.Recordset);
exgrid1.EndUpdate();

1089
ADODB, MDB

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgrid1.DataSource = (rs as ADODB.Recordset);
exgrid1.EndUpdate();

1088
ADOR, MDB

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = false;
// Add 'Microsoft ActiveX Data Objects 6.1 Library(msado15.dll)' reference to your project.
ADODB.Recordset rs = new ADODB.Recordset();
	rs.Open("Orders","Provider=Microsoft.ACE.OLEDB.12.0;Data Source=C:\\Program Files\\Exontrol\\ExGrid\\Sample\\Access\\misc.accdb",exontrol.ADODB.CursorTypeEnum.adOpenStatic,exontrol.ADODB.LockTypeEnum.adLockOptimistic,0);
exgrid1.DataSource = (rs as ADODB.Recordset);
exgrid1.EndUpdate();

1087
How can I display the row on multiple lines (excrd)

exgrid1.BeginUpdate();
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Etched;
exgrid1.SelBackMode = exontrol.EXGRIDLib.BackModeEnum.exTransparent;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellFormatLevel,"[b=0]60;1[b=15]:60,((20;\"<fgcolor=808080>Dateigröße\"[b=1][a=2]:120,2[b=15])/(20;\"<fgcolor=808080>Erstellt am\"[a=2]:120,3[b=" +
"15])/(20;\"<fgcolor=808080>Zuletzt bearbeitet\"[b=4][a=2]:120,4[b=15]))");
	var_Column.AllowSort = false;
(exgrid1.Columns.Add(1.ToString()) as exontrol.EXGRIDLib.Column).Visible = false;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add(2.ToString()) as exontrol.EXGRIDLib.Column);
	var_Column1.Visible = false;
	var_Column1.Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.EditType;
	var_Column1.FormatColumn = "1 index `A-Z`";
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add(3.ToString()) as exontrol.EXGRIDLib.Column);
	var_Column2.Visible = false;
	var_Column2.Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.EditType;
	var_Column2.FormatColumn = "1 index ``";
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add(4.ToString()) as exontrol.EXGRIDLib.Column);
	var_Column3.Visible = false;
	var_Column3.Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.EditType;
	var_Column3.FormatColumn = "date(``)";
exgrid1.DefaultItemHeight = 48;
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exRowLines;
exgrid1.GridLineStyle = exontrol.EXGRIDLib.GridLinesStyleEnum.exGridLinesSolid;
exgrid1.set_ViewModeOption(exontrol.EXGRIDLib.ViewModeEnum.exTableView,exontrol.EXGRIDLib.ViewModeOptionEnum.exBorderWidth,1);
exgrid1.set_ViewModeOption(exontrol.EXGRIDLib.ViewModeEnum.exTableView,exontrol.EXGRIDLib.ViewModeOptionEnum.exBorderHeight,1);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem(""),1,"One");
	var_Items.set_CellValue(var_Items.AddItem(""),1,"Two");
	var_Items.set_CellValue(var_Items.AddItem(""),1,"Three");
exgrid1.EndUpdate();

1086
Type of wraps the cell's caption support (Sample 2)

exgrid1.BeginUpdate();
exgrid1.HeaderSingleLine = false;
exgrid1.HeaderHeight = 36;
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exRowLines;
exgrid1.ColumnAutoResize = false;
exgrid1.ScrollBySingleLine = true;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("Single-Line (exCaptionSingleLine)") as exontrol.EXGRIDLib.Column);
		var_Column.Width = 96;
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellSingleLine,-1);
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("Word-Wrap (exCaptionWordWrap)") as exontrol.EXGRIDLib.Column);
		var_Column1.Width = 96;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellSingleLine,0);
		var_Column1.FormatColumn = "%0";
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("Break-Wrap (exCaptionBreakWrap)") as exontrol.EXGRIDLib.Column);
		var_Column2.Width = 96;
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellSingleLine,1);
		var_Column2.FormatColumn = "%0";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.AddItem("This is the <b>first</b> line.\\r\\nThis is the <b>second</b> line.\\r\\nThis is the <b>third</b> line.");
exgrid1.EndUpdate();

1085
Type of wraps the cell's caption support (Sample 1)

exgrid1.BeginUpdate();
exgrid1.HeaderSingleLine = false;
exgrid1.HeaderHeight = 36;
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exRowLines;
exgrid1.ColumnAutoResize = false;
exgrid1.ScrollBySingleLine = true;
(exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column).Width = 128;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXGRIDLib.ValueFormatEnum.exHTML);
	h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.set_CellSingleLine(h,0,exontrol.EXGRIDLib.CellSingleLineEnum.exCaptionWordWrap);
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXGRIDLib.ValueFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,exontrol.EXGRIDLib.CellSingleLineEnum.exCaptionWordWrap);
	h = var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
	var_Items.set_CellSingleLine(h,0,exontrol.EXGRIDLib.CellSingleLineEnum.exCaptionBreakWrap);
	h = var_Items.AddItem("This is the <b>first</b> line.<br>This is the <b>second</b> line.<br>This is the <b>third</b> line.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXGRIDLib.ValueFormatEnum.exHTML);
	var_Items.set_CellSingleLine(h,0,exontrol.EXGRIDLib.CellSingleLineEnum.exCaptionBreakWrap);
exgrid1.EndUpdate();

1084
Can I break the cell's caption using the line break <br> or \r\n (Sample 2)

exgrid1.BeginUpdate();
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exRowLines;
exgrid1.ColumnAutoResize = false;
exgrid1.ScrollBySingleLine = true;
(exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column).Width = 128;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellSingleLine(var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line."),0,exontrol.EXGRIDLib.CellSingleLineEnum.exCaptionBreakWrap);
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
exgrid1.EndUpdate();

1083
Can I break the cell's caption using the line break <br> or \r\n (Sample 1)

exgrid1.BeginUpdate();
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Etched;
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exRowLines;
exgrid1.GridLineStyle = exontrol.EXGRIDLib.GridLinesStyleEnum.exGridLinesGeometric;
exgrid1.ColumnAutoResize = false;
exgrid1.ScrollBySingleLine = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column);
	var_Column.Width = 196;
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellSingleLine,1);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("<solidline><b>Bank Account</b></solidline><br>+ owner: String <r><a 1;properties>+</a><br><solidline>+ balance: Currency = 0</s" +
"olidline><br>+ deposit(amount: Currency)<r><a ;methods>+</a><br>+ withdraw(amount: Currency)");
	var_Items.set_CellValueFormat(h,0,exontrol.EXGRIDLib.ValueFormatEnum.exHTML);
	var_Items.AddItem("This is the first line.\\r\\nThis is the second line.\\r\\nThis is the third line.");
exgrid1.EndUpdate();

1082
How can I change the visual appearance/color of the Filter For ... field

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.BackColorHeader = Color.FromArgb(1,0,0);
exgrid1.ForeColorHeader = Color.FromArgb(255,255,255);
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exBackColorFilter,exgrid1.BackColorHeader);
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exForeColorFilter,exgrid1.ForeColorHeader);
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exHeaderFilterBarButton,Color.FromArgb(240,240,240));
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exCursorHoverColumn,-1);
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Bump;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Items") as exontrol.EXGRIDLib.Column);
	var_Column.FilterOnType = true;
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exNoItems;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgrid1.EndUpdate();

1081
How can I display the cell's caption without spaces on both sides

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "((trim(value) replace `   ` with ` `) replace `  ` with ` `) replace ` ` with `<bgcolor=FF0000> </bgcolor>`";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
exgrid1.EndUpdate();

1080
How can I highlight the spaces within the column (sample 2)

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "`'` + ( value replace ` ` with `_` ) + `'`";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
exgrid1.EndUpdate();

1079
How can I highlight the spaces within the column (sample 1)

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "len(value) = 0 ? `<bgcolor=FF0000> </bgcolor>` : ( value replace ` ` with `<bgcolor=FF0000> </bgcolor>` )";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Item A");
	var_Items.AddItem("    Item B");
	var_Items.AddItem("        Item   C    ");
exgrid1.EndUpdate();

1078
How can I change the visual aspect of the drop down filter-calendar

exgrid1.BeginUpdate();
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exBackColorFilter,Color.FromArgb(0,0,1));
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exForeColorFilter,Color.FromArgb(255,255,255));
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exDateScrollRange,Color.FromArgb(255,255,255));
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exDateHeader,exgrid1.get_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exBackColorFilter));
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exDateScrollThumb,Color.FromArgb(128,128,128));
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Date") as exontrol.EXGRIDLib.Column);
	var_Column.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exDate;
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterDate = true;
	var_Column.DisplayFilterPattern = false;
exgrid1.EndUpdate();

1077
How can I hide the filter bar description

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Filter") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column.Filter = "B";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("A");
	var_Items.AddItem("B");
	var_Items.AddItem("C");
exgrid1.ApplyFilter();
exgrid1.FilterBarHeight = 0;
exgrid1.EndUpdate();

1076
Export Data in HTML format

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.BackColorAlternate = Color.FromArgb(240,240,240);
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exAllLines;
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Etched;
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "(( ( value replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.FilterBarPromptType = exontrol.EXGRIDLib.FilterPromptEnum.exFilterPromptContainsAny;
exontrol.EXGRIDLib.ConditionalFormats var_ConditionalFormats = exgrid1.ConditionalFormats;
	var_ConditionalFormats.Add("%0 like `*parent*`","parent").BackColor = Color.FromArgb(192,192,192);
	exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = var_ConditionalFormats.Add("%0 like `*child*`","child");
		var_ConditionalFormat.ForeColor = Color.FromArgb(255,128,128);
		var_ConditionalFormat.ApplyTo = exontrol.EXGRIDLib.FormatApplyToEnum.exFormatToColumns;
	exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat1 = var_ConditionalFormats.Add("%0 like `*B*`","b");
		var_ConditionalFormat1.ForeColor = Color.FromArgb(0,0,255);
		var_ConditionalFormat1.Bold = true;
		var_ConditionalFormat1.Italic = true;
		var_ConditionalFormat1.ApplyTo = exontrol.EXGRIDLib.FormatApplyToEnum.exFormatToColumns;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("Value") as exontrol.EXGRIDLib.Column);
		var_Column.Width = 128;
		var_Column.HTMLCaption = "<b>VA</b><r>sko";
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("APos") as exontrol.EXGRIDLib.Column);
		var_Column1.FormatColumn = "0 apos ``";
		var_Column1.AllowSort = false;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellBackColor,15790320);
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor,8421504);
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exHeaderForeColor,var_Column1.get_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor));
		var_Column1.Position = 0;
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("RPos") as exontrol.EXGRIDLib.Column);
		var_Column2.FormatColumn = "0 rpos ``";
		var_Column2.AllowSort = false;
		var_Column2.Position = 1;
	exontrol.EXGRIDLib.Column var_Column3 = (var_Columns.Add("Index") as exontrol.EXGRIDLib.Column);
		var_Column3.FormatColumn = "0 index ``";
		var_Column3.DisplayFilterButton = true;
		var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
		var_Column3.Position = 2;
	exontrol.EXGRIDLib.Column var_Column4 = (var_Columns.Add("Data 1") as exontrol.EXGRIDLib.Column);
		var_Column4.FormatColumn = "0 index `A-Z`";
		var_Column4.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	exontrol.EXGRIDLib.Column var_Column5 = (var_Columns.Add("Data 2") as exontrol.EXGRIDLib.Column);
		var_Column5.FormatColumn = "0 index `AB` replace `A` with `<off -4>A</off>`";
		var_Column5.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellSingleLine,false);
		var_Column5.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
		var_Column5.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasRadioButton,true);
	exontrol.EXGRIDLib.Column var_Column6 = (var_Columns.Add("Data 3") as exontrol.EXGRIDLib.Column);
		var_Column6.FormatColumn = "0 index `CDC` replace `D` with `<b>D</b>`";
		var_Column6.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("ParentA");
	var_Items.InsertItem(h,null,"Child A");
	var_Items.InsertItem(h,null,"Child B");
	var_Items.set_CellState(h,4,1);
	var_Items.set_CellBackColor(var_Items.InsertItem(h,null,"Child C"),5,Color.FromArgb(0,255,0));
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem("Item A");
	h = var_Items.AddItem("ParentB");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellBackColor(var_Items.InsertItem(h,null,"Child 3"),5,Color.FromArgb(0,255,0));
	var_Items.set_CellState(h,5,1);
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
	var_Items.AddItem("Item D");
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();
string sFile = "c:/temp/export.html";
exgrid1.Export(sFile,"vis");
// Add 'Microsoft Internet Controls(ieframe.dll)' reference to your project.
SHDocVw.ShellBrowserWindow var_ShellBrowserWindow = new SHDocVw.ShellBrowserWindow();
	var_ShellBrowserWindow.Navigate2(sFile,null,null,null,null);

1075
Export Data in CSV format

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.BackColorAlternate = Color.FromArgb(240,240,240);
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exAllLines;
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Etched;
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "(( ( value replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.FilterBarPromptType = exontrol.EXGRIDLib.FilterPromptEnum.exFilterPromptContainsAny;
exontrol.EXGRIDLib.ConditionalFormats var_ConditionalFormats = exgrid1.ConditionalFormats;
	var_ConditionalFormats.Add("%0 like `*parent*`","parent").BackColor = Color.FromArgb(192,192,192);
	exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = var_ConditionalFormats.Add("%0 like `*child*`","child");
		var_ConditionalFormat.ForeColor = Color.FromArgb(255,128,128);
		var_ConditionalFormat.ApplyTo = exontrol.EXGRIDLib.FormatApplyToEnum.exFormatToColumns;
	exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat1 = var_ConditionalFormats.Add("%0 like `*B*`","b");
		var_ConditionalFormat1.ForeColor = Color.FromArgb(0,0,255);
		var_ConditionalFormat1.Bold = true;
		var_ConditionalFormat1.Italic = true;
		var_ConditionalFormat1.ApplyTo = exontrol.EXGRIDLib.FormatApplyToEnum.exFormatToColumns;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("Value") as exontrol.EXGRIDLib.Column);
		var_Column.Width = 128;
		var_Column.HTMLCaption = "<b>VA</b><r>sko";
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("APos") as exontrol.EXGRIDLib.Column);
		var_Column1.FormatColumn = "0 apos ``";
		var_Column1.AllowSort = false;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellBackColor,15790320);
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor,8421504);
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exHeaderForeColor,var_Column1.get_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor));
		var_Column1.Position = 0;
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("RPos") as exontrol.EXGRIDLib.Column);
		var_Column2.FormatColumn = "0 rpos ``";
		var_Column2.AllowSort = false;
		var_Column2.Position = 1;
	exontrol.EXGRIDLib.Column var_Column3 = (var_Columns.Add("Index") as exontrol.EXGRIDLib.Column);
		var_Column3.FormatColumn = "0 index ``";
		var_Column3.DisplayFilterButton = true;
		var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
		var_Column3.Position = 2;
	exontrol.EXGRIDLib.Column var_Column4 = (var_Columns.Add("Data 1") as exontrol.EXGRIDLib.Column);
		var_Column4.FormatColumn = "0 index `A-Z`";
		var_Column4.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	exontrol.EXGRIDLib.Column var_Column5 = (var_Columns.Add("Data 2") as exontrol.EXGRIDLib.Column);
		var_Column5.FormatColumn = "0 index `AB` replace `A` with `<off -4>A</off>`";
		var_Column5.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellSingleLine,false);
		var_Column5.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
		var_Column5.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasRadioButton,true);
	exontrol.EXGRIDLib.Column var_Column6 = (var_Columns.Add("Data 3") as exontrol.EXGRIDLib.Column);
		var_Column6.FormatColumn = "0 index `CDC` replace `D` with `<b>D</b>`";
		var_Column6.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("ParentA");
	var_Items.InsertItem(h,null,"Child A");
	var_Items.InsertItem(h,null,"Child B");
	var_Items.set_CellState(h,4,1);
	var_Items.set_CellBackColor(var_Items.InsertItem(h,null,"Child C"),5,Color.FromArgb(0,255,0));
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem("Item A");
	h = var_Items.AddItem("ParentB");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_CellBackColor(var_Items.InsertItem(h,null,"Child 3"),5,Color.FromArgb(0,255,0));
	var_Items.set_CellState(h,5,1);
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
	var_Items.AddItem("Item D");
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();
System.Diagnostics.Debug.Print( exgrid1.Export("","vis").ToString() );

1074
Is it possible to check multiple-items at once

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object bHasParent = exgrid1.FormatABC("value != 0",exgrid1.Items.get_ItemParent(Item),null,null);
	exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
		var_Items.set_CellHasCheckBox(Item,0,false);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "value + (%CS0 = 1 ? `<r><fgcolor=808080>(checked)` : ``)";
exgrid1.HeaderVisible = true;
exgrid1.SingleSel = false;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	hChild = var_Items.InsertItem(h,null,"Task 2");
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_ExpandItem(h,true);
	var_Items.set_LockedItemCount(exontrol.EXGRIDLib.VAlignmentEnum.exTop,1);
	var_Items.set_CellValue(var_Items.get_LockedItem(exontrol.EXGRIDLib.VAlignmentEnum.exTop,0),0,"<c>Select multiple items and press the <b>SPACE</b> key");
exgrid1.EndUpdate();

1073
How can I get the icon from the cell when using the Items.CellImages property (icon index)

// MouseMove event - Occurs when the user moves the mouse.
private void exgrid1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int i = exgrid1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exgrid1.FormatABC("( 0x44 = ( value bitand 0x44 ) ) ? ( ( (value bitand 0xFFFF0000) bitshift 16 ) array B split `,` )  : `no image`",hit,exgrid1.Items.get_CellImages(i,c),null).ToString() );
}
//this.exgrid1.MouseMoveEvent += new exontrol.EXGRIDLib.exg2antt.MouseMoveEventHandler(this.exgrid1_MouseMoveEvent);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exgrid1.Columns.Add("Default");
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellImages(var_Items.AddItem("Item 1"),0,"3,2,1");
	var_Items.set_CellImages(var_Items.AddItem("Item 2"),0,"2,3");
	var_Items.set_CellImages(var_Items.AddItem("Item 3"),0,"2,");
exgrid1.EndUpdate();

1072
How can I get the icon from the cell when using the Items.CellImages property (icon position within the cell)

// MouseMove event - Occurs when the user moves the mouse.
private void exgrid1_MouseMoveEvent(object sender,short   Button,short   Shift,int   X,int   Y)
{
	int i = exgrid1.get_ItemFromPoint(-1,-1,c,hit);
	System.Diagnostics.Debug.Print( exgrid1.FormatABC("( 0x44 = ( value bitand 0x44 ) ) ? 1 + ( (value bitand 0xFFFF0000) bitshift 16 ) : `no image`",hit,null,null).ToString() );
}
//this.exgrid1.MouseMoveEvent += new exontrol.EXGRIDLib.exg2antt.MouseMoveEventHandler(this.exgrid1_MouseMoveEvent);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exgrid1.Columns.Add("Default");
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellImages(var_Items.AddItem("Item 1"),0,"3,2,1");
	var_Items.set_CellImages(var_Items.AddItem("Item 2"),0,"2,3");
	var_Items.set_CellImages(var_Items.AddItem("Item 3"),0,"2");
exgrid1.EndUpdate();

1071
Is it possible to change the visual appearance of the position signs when user changes the column's position by drag and drop

exgrid1.BeginUpdate();
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Etched;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	var_Columns.Add("Column 1");
	var_Columns.Add("Column 2");
	var_Columns.Add("Column 3");
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABZEGACAADACAxRDgMQBQKAAzAJBIYhiG4cYCgMYxXDOCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADKMA4SOKIZhrE4bBhGaQRUgyI43RhHUBzV" +
"IUcQvE6TZRHCQYHgkNIhDJIM7TPLkeSVJaTIRoKhJUogApQThTMgVRDEThkGoSa6soSoYTDBKybLrSLKagOT5YUDKUqSdKEZRpEq1YztWbaQoCUoqVRRVIWfbNd4JJa4" +
"aDhWpYdpeeY5R7bWLgBYVVABL7LLRsSxpHxPF6RXxaeI3GKsaS8G6ic6nPQMHj7I4NS5pUa6Rh2VYNSa8AAtETRYznOw4bTMXAjNIea5bAYIIR5HIoDzVbQcCQAHL9DB" +
"eEMIQEEISgGhMGZQmocgymoYRRCIEQ0G2HYBnEIBig4V4zCQGINnmagCECY43medZ6H2Pw/g+X5fnueh/h+R5+AKABfkMWgGgGYA4AICoCGCE5WA4CphACMgSD2IRIDI" +
"BICmEd5YGCBpRjGBgegWIYIgWdgoGIRQsiKCZiAiJZ0gGQI4jUS4LECOAiBmDJflGfg2BSY4Al4OhGkOCJ2DgFJjGGfgqgiH5Ch4RhGkqOQmEOEpkFkHQYhJRYyESAok" +
"GKHhIhKIxJEmf4VGUeRGFmF5iBkchPhYJQ5GoYIZg6Ug6GoFYmkmNhuhulRGHKGoImefh0BUZ4JmYeoemeSZ2H6HQmgoBgXDqXwUAQgI=");
	var_Appearance.Add(2,"CP:1 0 -36 0 0");
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exColumnsPositionSign,0x2000000);
exgrid1.EndUpdate();

1070
How can I add a title column

exgrid1.BeginUpdate();
exgrid1.HeaderHeight = 22;
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.Etched;
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exAllLines;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	var_Columns.Add("Col 1");
	(var_Columns.Add("Col 2") as exontrol.EXGRIDLib.Column).FormatColumn = "1 pos ``";
	(var_Columns.Add("Col 3") as exontrol.EXGRIDLib.Column).FormatColumn = "1 pos `A-`";
	(var_Columns.Add("Col 4") as exontrol.EXGRIDLib.Column).FormatColumn = "1 pos `A-Z`";
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("Title") as exontrol.EXGRIDLib.Column);
		var_Column.ExpandColumns = "0,1,2,3";
		var_Column.DisplayExpandButton = false;
		var_Column.AllowSort = false;
		var_Column.AllowDragging = false;
		var_Column.Position = 0;
		var_Column.HeaderAlignment = exontrol.EXGRIDLib.AlignmentEnum.CenterAlignment;
exgrid1.ColumnAutoResize = false;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
exgrid1.EndUpdate();
System.Diagnostics.Debug.Print( exgrid1.Export("",null).ToString() );

1069
FilterBarCaption ALLUI Keyword ( sample 3, result, leaf )

// AddGroupItem event - Occurs after a new Group Item has been inserted to Items collection.
private void exgrid1_AddGroupItem(object sender,int   Item)
{
	exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
		var_Items.set_ItemBackColor(Item,Color.FromArgb(240,240,240));
		object val = var_Items.get_CellValue(Item,var_Items.get_GroupItem(Item));
		var_Items.set_CellState(Item,var_Items.get_GroupItem(Item),exgrid1.FormatABC("A = `Checked` ? 1 : 0",val,null,null));
}
//this.exgrid1.AddGroupItem += new exontrol.EXGRIDLib.exg2antt.AddGroupItemEventHandler(this.exgrid1_AddGroupItem);

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object i = exgrid1.FormatABC("value + 1",exgrid1.Items.get_ItemToIndex(Item),null,null);
	exgrid1.Items.set_CellImage(Item,3,i);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add("Image") as exontrol.EXGRIDLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
exontrol.EXGRIDLib.Column var_Column4 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 rpos ``";
	var_Column4.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "(( ( allui replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + leafitemcount + ` result(s)` ) : (`<r><fgcolor=808080>`+ leafitemcount + `" +
" item(s)`) )))";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.AllowGroupBy = true;
exgrid1.SortBarVisible = true;
exontrol.EXGRIDLib.Column var_Column5 = exgrid1.Columns[2];
	var_Column5.FormatColumn = "%CS2 ? `Checked` : `Unchecked`";
	var_Column5.SortOrder = exontrol.EXGRIDLib.SortOrderEnum.SortAscending;
exgrid1.EndUpdate();

1068
A black portion is shown while I am using the BackColorAlternate with EBN colors. What can I do

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = true;
exgrid1.DefaultItemHeight = 20;
exgrid1.VisualAppearance.Add(1,"gBFLBCJwBAEHhEJAAEhIDhAxHAxg0HG0Mg4xGI3HMOig3GcJiYAf8jAEhhUnAAyhEqg8hk0oAsIjgAiAwmYxGA4mYzGwwkI0i0ooUnB0IBMIl1Dg8zmYyGolptPkI1m" +
"Y1GAll9KoUslNIrVCqNQldShFUstXAVfrVcrlZtVhuFnsUHq1zoczoQGhFBkNpg6zbDykUkhsPHE2h85nc9n8xtVDtlex9Msd2p1YstVq9ux8HyMtzuFz1PsNTzQlv2h" +
"hWfkuqpeVuN0q+nvEooN5veSAGpkb/ACcZrvhU3w83nM/poxGuchGpoVBvWgg+8knA4WimnFxI45Er5XOlHMg/Q3XU33W4ew9Wyu11mchDagcO7zus8VDoNBBEIKBpMY" +
"6DqOQyokhA/IQIQmwMk4bIQFDcoO6LWgwhQkNcABwEyAB5GwWbet6cRQg3DENQ5D8QxADZvEkAB8nabsURGeBpFM3pwE2AEZRpDx/neZpOR3Dz9oO/r/wCMoZNTBQAQR" +
"JSEwYg8HPGhEIoNCaEwq10gQ2WcRt7LcRxRFpuxUAEURQ3sczBEMgTTG8gN7HpOSEAEiQBAQZpmQ0DibPUFwbKcHwkhQoQtNQNzNEMbABOKDy/DMYQzHLeoPL0OTJSUd" +
"0pHcxTewk5zrIygIRPslz4lEngBKIAQivgASs/kLSBTlO00f8t0vGcgUbDlDRjXLCUNRERRvRgAHW2oAICA==");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Position") as exontrol.EXGRIDLib.Column);
	var_Column1.FormatColumn = "1 rindex ``";
	var_Column1.Visible = false;
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%C1 mod 2",null);
	var_ConditionalFormat.BackColor32 = 0x1000000;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item 1");
	var_Items.AddItem("Item 2");
	var_Items.AddItem("Item 3");
	var_Items.AddItem("Item 4");
exgrid1.EndUpdate();

1067
How can I specify alternate background colors for each root item, similar with BackColorAlternate

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Default") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Position") as exontrol.EXGRIDLib.Column);
	var_Column1.FormatColumn = "( ( 1:=( ( 0:=(1 rpos '') ) lfind `.`) ) < 0 ? =:0 : (=:0 left =:1) )";
	var_Column1.Visible = false;
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%C1 mod 2",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(240,240,240);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	h = var_Items.AddItem("Root 3");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
exgrid1.EndUpdate();

1066
Is it possible to change the caption from a column without to remove the column and add it with the new caption
(exgrid1.Columns.Add("ColumnName") as exontrol.EXGRIDLib.Column).Caption = "NewName";
(exgrid1.Columns.Add("ColumnName") as exontrol.EXGRIDLib.Column).HTMLCaption = "<b>New</b>Name";

1065
FilterBarCaption ALL Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object i = exgrid1.FormatABC("value + 1",exgrid1.Items.get_ItemToIndex(Item),null,null);
	exgrid1.Items.set_CellImage(Item,3,i);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXGRIDLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add("Image") as exontrol.EXGRIDLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
exontrol.EXGRIDLib.Column var_Column4 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "(( ( all replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace `[" +
"<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matchi" +
"temcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount" +
" + ` item(s)`) )))";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column5 = exgrid1.Columns[0];
	var_Column5.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exgrid1.Columns[2].Filter = 1.ToString();
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1064
FilterBarCaption ALL Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object i = exgrid1.FormatABC("value + 1",exgrid1.Items.get_ItemToIndex(Item),null,null);
	exgrid1.Items.set_CellImage(Item,3,i);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXGRIDLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add("Image") as exontrol.EXGRIDLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
exontrol.EXGRIDLib.Column var_Column4 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "all";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column5 = exgrid1.Columns[0];
	var_Column5.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exgrid1.Columns[2].Filter = 1.ToString();
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1063
FilterBarCaption ALLUI Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object i = exgrid1.FormatABC("value + 1",exgrid1.Items.get_ItemToIndex(Item),null,null);
	exgrid1.Items.set_CellImage(Item,3,i);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXGRIDLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add("Image") as exontrol.EXGRIDLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
exontrol.EXGRIDLib.Column var_Column4 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "(( ( allui replace `[<b>` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `</b>]` with ` </b></bgcolor></fgcolor>` replace " +
"`[<s>` with `<bgcolor=C0C0C0><fgcolor=FFFFFF> ` replace `</s>]` with ` </fgcolor></bgcolor>` )  + `<r><fgcolor=808080>` + ( matc" +
"hitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcou" +
"nt + ` item(s)`) )))";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column5 = exgrid1.Columns[0];
	var_Column5.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exgrid1.Columns[2].Filter = 1.ToString();
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1062
FilterBarCaption ALLUI Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object i = exgrid1.FormatABC("value + 1",exgrid1.Items.get_ItemToIndex(Item),null,null);
	exgrid1.Items.set_CellImage(Item,3,i);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXGRIDLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add("Image") as exontrol.EXGRIDLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
exontrol.EXGRIDLib.Column var_Column4 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "allui";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column5 = exgrid1.Columns[0];
	var_Column5.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exgrid1.Columns[2].Filter = 1.ToString();
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1061
FilterBarCaption AVAILABLE Keyword ( sample 2, result )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object i = exgrid1.FormatABC("value + 1",exgrid1.Items.get_ItemToIndex(Item),null,null);
	exgrid1.Items.set_CellImage(Item,3,i);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXGRIDLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add("Image") as exontrol.EXGRIDLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
exontrol.EXGRIDLib.Column var_Column4 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "(( ( value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` ) + ` ` + ( ava" +
"ilable replace `[` with `<bgcolor=C0C0C0><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>` replace `<s>` with `" +
"` replace `</s>` with `` ) + `<fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount" +
" + 1) + ` result(s)` ) : (`<r><fgcolor=808080>`+ itemcount + ` item(s)`) )))";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column5 = exgrid1.Columns[0];
	var_Column5.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exgrid1.Columns[2].Filter = 1.ToString();
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1060
FilterBarCaption AVAILABLE Keyword ( sample 1 )

// AddItem event - Occurs after a new Item has been inserted to Items collection.
private void exgrid1_AddItem(object sender,int   Item)
{
	object i = exgrid1.FormatABC("value + 1",exgrid1.Items.get_ItemToIndex(Item),null,null);
	exgrid1.Items.set_CellImage(Item,3,i);
}
//this.exgrid1.AddItem += new exontrol.EXGRIDLib.exg2antt.AddItemEventHandler(this.exgrid1_AddItem);

exgrid1.BeginUpdate();
exgrid1.Images("gBJJgBAIDAAGAAEAAQhYAf8Pf4hh0QihCJo2AEZjQAjEZFEaIEaEEaAIAkcbk0olUrlktl0vmExmUzmk1m03nE5nU7nk9n0/oFBoVDolFo1HpFJpVLplNp1PqFRqVTq" +
"lVq1XrFZrVbrldr1fsFhsVjslls1ntFptVrtltt1vuFxuVzul1u13vF5vV7vl9v1/wGBwWDwmFw2HxGJxWLxmNx0xiFdyOTh8Tf9ZymXx+QytcyNgz8r0OblWjyWds+m" +
"0ka1Vf1ta1+r1mos2xrG2xeZ0+a0W0qOx3GO4NV3WeyvD2XJ5XL5nN51aiw+lfSj0gkUkAEllHanHI5j/cHg8EZf7w8vl8j4f/qfEZeB09/vjLAB30+kZQAP/P5/H6/y" +
"NAOAEAwCjMBwFAEDwJBMDwLBYAP2/8Hv8/gAGAD8LQs9w/nhDY/oygIA=");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column2.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXGRIDLib.EditorOptionEnum.exCheckValue2,1);
	var_Column2.DisplayFilterButton = true;
	var_Column2.DisplayFilterPattern = false;
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column3 = (exgrid1.Columns.Add("Image") as exontrol.EXGRIDLib.Column);
	var_Column3.DisplayFilterButton = true;
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exImage;
	var_Column3.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
exontrol.EXGRIDLib.Column var_Column4 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column4.AllowSizing = false;
	var_Column4.AllowSort = false;
	var_Column4.Width = 32;
	var_Column4.FormatColumn = "1 apos ``";
	var_Column4.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellValue(h,1,"Sub-Item B");
	var_Items.set_CellState(h,2,1);
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080> ` + value + ` </fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "value + ` ` + available";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column5 = exgrid1.Columns[0];
	var_Column5.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column5.Filter = "Item A|Item B";
exgrid1.Columns[2].Filter = 1.ToString();
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1059
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 3, results )

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "(`<b>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `` : `` ) + `<r>` + abs(matchitemcount + 1) +" +
" ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )) replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replac" +
"e `]` with ` </b></bgcolor></fgcolor>`";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXGRIDLib.Column var_Column3 = exgrid1.Columns[0];
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXGRIDLib.Column var_Column4 = exgrid1.Columns[1];
	var_Column4.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1058
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 2 )

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "value replace `[` with `<bgcolor=000000><fgcolor=FFFFFF><b> ` replace `]` with ` </b></bgcolor></fgcolor>`";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXGRIDLib.Column var_Column3 = exgrid1.Columns[0];
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXGRIDLib.Column var_Column4 = exgrid1.Columns[1];
	var_Column4.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1057
Is it possible to somehow highlight the column's name different than its filter value in the control's filter bar ( sample 1 )

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Col-1") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Col-2") as exontrol.EXGRIDLib.Column);
	var_Column1.DisplayFilterButton = true;
	var_Column1.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column2.AllowSizing = false;
	var_Column2.AllowSort = false;
	var_Column2.Width = 32;
	var_Column2.FormatColumn = "1 apos ``";
	var_Column2.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellValue(var_Items.AddItem("Item A"),1,"Sub-Item A");
	var_Items.set_CellValue(var_Items.AddItem("Item B"),1,"Sub-Item B");
	var_Items.set_CellValue(var_Items.AddItem("Item C"),1,"Sub-Item C");
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd,exgrid1.FormatABC("`<fgcolor=808080>` + value + `</fgcolor>`",exgrid1.get_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarAnd),null,null).ToString());
exgrid1.FilterBarCaption = "value replace `[` with `<fgcolor=808080>[` replace `]` with `]</fgcolor>`";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXGRIDLib.Column var_Column3 = exgrid1.Columns[0];
	var_Column3.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column3.Filter = "Item A|Item B";
exontrol.EXGRIDLib.Column var_Column4 = exgrid1.Columns[1];
	var_Column4.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exPattern;
	var_Column4.Filter = "*B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1056
Is it possible to automatically displays the control's filter label to the right

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarCaption = "`<r>` + value";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle;
exontrol.EXGRIDLib.Column var_Column2 = exgrid1.Columns[0];
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1055
How can I get the number of results/items being shown in the control's filter bar (sample 4)

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowFocusItem | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox | exontrol.EXGRIDLib.FilterListEnum.exSortItemsAsc;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.FilterBarPrompt = exgrid1.FormatABC("`<b>` + value",exgrid1.FilterBarPrompt,null,null).ToString();
exgrid1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : (`<fgcolor=808080>`+ itemcount + ` item(s)`) )";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.EndUpdate();

1054
How can I get the number of results being shown in the control's filter bar (sample 3)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? ( ( len(value) ? `<br>` : `` ) + `<r>` + abs(matchitemcount " +
"+ 1) + ` result(s)` ) : ``)";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1053
How can I get the number of results being shown in the control's filter bar (sample 2, compact)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.FilterBarCaption = "`<b><r>` + value + `</b><fgcolor=808080>` + ( matchitemcount < 0 ? `<off -4> ` + abs(matchitemcount + 1) + ` result(s)` : ``)";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1052
How can I get the number of results being shown in the control's filter bar (sample 1)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.FilterBarCaption = "`<b>` + value + `</b><r><fgcolor=808080>` + ( matchitemcount < 0 ? abs(matchitemcount + 1) + ` result(s)` : ``)";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1051
FilterBarCaption Predefined Keywords

// AfterExpandItem event - Fired after an item is expanded (collapsed).
private void exgrid1_AfterExpandItem(object sender,int   Item)
{
	exgrid1.Refresh();
}
//this.exgrid1.AfterExpandItem += new exontrol.EXGRIDLib.exg2antt.AfterExpandItemEventHandler(this.exgrid1_AfterExpandItem);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.CheckValueType;
		var_Editor.set_Option(exontrol.EXGRIDLib.EditorOptionEnum.exCheckValue2,1);
	var_Column.DisplayFilterButton = true;
	var_Column.DisplayFilterPattern = false;
	var_Column.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exCheck;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column1.AllowSizing = false;
	var_Column1.AllowSort = false;
	var_Column1.Width = 32;
	var_Column1.FormatColumn = "1 apos ``";
	var_Column1.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	int h = var_Items.AddItem("Item B");
	var_Items.set_CellState(var_Items.InsertItem(h,null,"Sub-Item B1"),1,1);
	var_Items.InsertItem(h,null,"Sub-Item B2");
	var_Items.set_ExpandItem(h,true);
	var_Items.AddItem("Item C");
exgrid1.FilterInclude = exontrol.EXGRIDLib.FilterIncludeEnum.exItemsWithChilds;
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.FilterBarCaption = "`<fgcolor=0000FF><i>value/current</i></fgcolor>: <fgcolor=808080>` + value + `</fgcolor>` + `<br><fgcolor=0000FF><i>available</" +
"i></fgcolor>: ` + available + `<br><fgcolor=0000FF><i>allui</i></fgcolor>: ` + allui + `<br><fgcolor=0000FF><i>all</i></fgcolor>" +
": ` + all + `<br><fgcolor=0000FF><i>itemcount</i></fgcolor>: <fgcolor=808080>` + itemcount + `</fgcolor>`+ `<br><fgcolor=0000FF>" +
"<i>visibleitemcount</i></fgcolor>: <fgcolor=808080>` + visibleitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>matchitemcount</" +
"i></fgcolor>: <fgcolor=808080>` + matchitemcount + `</fgcolor>`+ `<br><fgcolor=0000FF><i>promptpattern</i></fgcolor>: <fgcolor=8" +
"08080>` + promptpattern + `</fgcolor>`+ `<br><fgcolor=0000FF><i>leafitemcount</i></fgcolor>: <fgcolor=808080>` + leafitemcount +" +
" `</fgcolor>`";
exgrid1.FilterBarPromptPattern = "B";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCaptionVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column2 = exgrid1.Columns[0];
	var_Column2.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column2.Filter = "Item A|Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1050
I am using filter prompt feature, and also column's filter, just wondering if possible to compact displaying the filter bar so it won't show on multiple lines

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarFont = (exgrid1.Font as stdole.IFontDisp);
exgrid1.FilterBarCaption = "`<r><i><fgcolor=808080><upline><solidline><sha ;;0>` + value";
exgrid1.FilterBarPromptPattern = "B";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1049
Just wondering if it is possible to show the filter bar's close button on the right ( sample 2 )

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarShowCloseOnRight | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.FilterBarPrompt = exgrid1.FormatABC("`<r>` + value",exgrid1.FilterBarPrompt,null,null).ToString();
exgrid1.EndUpdate();

1048
Just wondering if it is possible to show the filter bar's close button on the right ( sample 1 )

exgrid1.BeginUpdate();
exgrid1.RightToLeft = true;
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.EndUpdate();

1047
How can I change the visual appearance of the filter bar's close button (EBN)

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABHQDg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLOg7IJ" +
"jyI4/SJAYCydKAWhxIaZKJHCZoEDaTAADCNVAQp6MEIJVbVEI0e79OgBLp/Z7kECIJJAaRjHQdJxGLA8EhtCQhCZteK6SgMKJYXhWQYRXI1JwvMBrWrdQjiOYELQtMKm" +
"SZNLYGG4dR5SVJbcYhSYsRRFMoyDIOXYDLKsdYqSpXIThObEGgaPqJYjsUjCMKnR7HVIURrBPC9TBPE69ZgmC6ucKPX51ShKFaBWDZcwFAS+UBuYCAILiEAQGZ1XT8OR" +
"OicbgJgSTJRlCaZeDsHY7QGR4xkSYp3CaExZAQMgalQYAwjCAAfBANxcA2TgKAUOpDCGFhKg0RpXCwCwDHQHQHEyAIkCkOhbFOGA8A8DohBgRg9AccZcn8EpEjMLI2C2" +
"DYxAgQgvAIUIVkoAAPBQDJlECTZ3CCYwDACQwUA8A5MCAWAWDiQi4l8aQOEgLJuBgBgDmYFAzEoIoIl0WALgKYJbBABADAAHgHg8VAMmqCQQDMXABAATYwTmNwBDATJX" +
"AiAgjHmNQ5lgQ5QEQEQMmcWg/GwD5ylyNw2gMcJcjsBgBgOQQDDhRpVAMMwnDBFw1B0Ax8D0DxOmmJJIGQTY5hGMAwkwM4CAYLZAmAOJnAqAojiIGg6iieYkmeAYOHaK" +
"JDCyCwjH6AoggsQpQliAJLhgaJ0CESBTnyDwjk+cg4g4P5IHIHJ+BWRRzlYWAxiOUxihsY4KjKLJRGqC44FCegkkkM58iAKAPnIWIWD8SRSFSfQnkmewUhYP4GiGKJ7G" +
"0TIbCSUoggqUo0lAQ4LnEcBcD8Coiiif4nE+eAAn2HpOkcFJqi4T5SkyMw/kqQown8IBIBOdA+A+DJrBqVxXEqYo4lCApLhGHBnD8S4ymyfxmg+cwQkQP5egOUZIWoEA" +
"kjIeIPBMBJBD+TBjBifwvkuc58hQJQPmFrYykkchclSApKjGOBuD+TRDFCfw3mmIxNi8FxFlOXhVC4aYDFyPgvg2YBcBcLZGCGCJ0DSLRzGSWQ/lmY5+mEP5gmMDBZRS" +
"MRsFsOxMhMJJ/DsTpTnwaQaE+N5ojuNhdEYNI5C4TZJO1GRDmCaxnA2Yx4n8IpIjOTBQBQC5TgyYw7gUYRYikC0BYRwsDQBoB8eA6Q2hsE0BUXgywZtYCyHMKwnxSAhA" +
"QHkIQhRrBaDsCwA4ERiB2EWAIYIXhhiVEgAEUYwwYjyASLge4FhHgRDkM8OQih0jWPkGgBBAQ");
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exFooterFilterBarButton,0x1000000);
exgrid1.EndUpdate();

1046
How can I change the visual appearance of the filter bar's close button (solid)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exFooterFilterBarButton,Color.FromArgb(255,0,0));
exgrid1.EndUpdate();

1045
Is it possible to prevent definitely showing the filter bar's close button

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exFooterFilterBarButton,-1);
exgrid1.EndUpdate();

1044
Is it possible to show the close button only if there is a filter applied

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarShowCloseIfRequired | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.EndUpdate();

1043
The control's filter bar is not closed once I click the close button (toggle)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
	var_Items.set_LockedItemCount(exontrol.EXGRIDLib.VAlignmentEnum.exBottom,1);
	int h = var_Items.get_LockedItem(exontrol.EXGRIDLib.VAlignmentEnum.exBottom,0);
	var_Items.set_ItemDivider(h,0);
	var_Items.set_CellValue(h,0,"<c><fgcolor=808080>Press the CTRL + F to turn on/off the control's filter bar. ALT + Up/Down moves the focus.");
	var_Items.set_CellValueFormat(h,0,exontrol.EXGRIDLib.ValueFormatEnum.exHTML);
exgrid1.FilterBarCaption = "`<r><fgcolor=808080>` + value";
exgrid1.FilterBarPromptPattern = "B";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarToggle | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1042
How can I display the control's filter on a single line

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarCaption = "len(value) ? `filter for: <fgcolor 808080>` + value  : `<fgcolor 808080>no filter`";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1041
How can I display the control's filter on a single line (prompt-combined)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarCaption = "`<r>` + value";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarCompact | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarSingleLine | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item A|Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1040
How can I get the number of results after a filter is applied

// Click event - Occurs when the user presses and then releases the left mouse button over the grid control.
private void exgrid1_Click(object sender)
{
	exgrid1.ClearFilter();
}
//this.exgrid1.Click += new exontrol.EXGRIDLib.exg2antt.ClickEventHandler(this.exgrid1_Click);

// FilterChange event - Occurs when filter was changed.
private void exgrid1_FilterChange(object sender)
{
	System.Diagnostics.Debug.Print( "Items.MatchItemCount" );
	System.Diagnostics.Debug.Print( exgrid1.Items.MatchItemCount.ToString() );
	System.Diagnostics.Debug.Print( exgrid1.FormatABC("value < 0 ? `filter applied: ` + abs(value + 1) + ` result(s)` : `no filter`",exgrid1.Items.MatchItemCount,null,null).ToString() );
}
//this.exgrid1.FilterChange += new exontrol.EXGRIDLib.exg2antt.FilterChangeEventHandler(this.exgrid1_FilterChange);

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.FilterBarPromptPattern = "Item";
exgrid1.EndUpdate();

1039
How can I programmatically clear the control's filter
// Click event - Occurs when the user presses and then releases the left mouse button over the grid control.
private void exgrid1_Click(object sender)
{
	exgrid1.ClearFilter();
}
//this.exgrid1.Click += new exontrol.EXGRIDLib.exg2antt.ClickEventHandler(this.exgrid1_Click);

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.FilterBarPromptPattern = "B";
exgrid1.EndUpdate();

1038
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt-combined)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptPattern = "B";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible | exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1037
Is it possible to prevent closing the control's filter bar, so it is always shown (prompt)

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarPromptVisible;
exgrid1.FilterBarPromptPattern = "B";
exgrid1.EndUpdate();

1036
Is it possible to prevent closing the control's filter bar, so it is always shown

exgrid1.BeginUpdate();
(exgrid1.Columns.Add("Item") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Pos") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowSort = false;
	var_Column.Width = 32;
	var_Column.FormatColumn = "1 apos ``";
	var_Column.Position = 0;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item A");
	var_Items.AddItem("Item B");
	var_Items.AddItem("Item C");
exgrid1.FilterBarCaption = "len(value) = 0 ? `<fgcolor=808080>no filter` : value";
exgrid1.FilterBarPromptVisible = exontrol.EXGRIDLib.FilterBarVisibleEnum.exFilterBarVisible;
exontrol.EXGRIDLib.Column var_Column1 = exgrid1.Columns[0];
	var_Column1.FilterType = exontrol.EXGRIDLib.FilterTypeEnum.exFilter;
	var_Column1.Filter = "Item B";
exgrid1.ApplyFilter();
exgrid1.EndUpdate();

1035
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 4)

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.VisualDesign = "gBFLBWIgBAEHhEJAEGg6VAkHeLpgwChAOhULB8XAUUg8MAAREEHGMcgRCJ0ei8dhABDEcQAAYAQGKIYBkAKBQAGaAoDDMOQwQwAAxjGKEEwsACEIrjKCRShyCYZRhGc" +
"TSBCIZBqEqSZLiEZRQiiCYsS5GQBRWAkEwiBiEQTjea5CgOIAFS7LIqjRQEBxhIaZYIGaiQADENo9TxIMZAfBIHShK6NJABCCSQKkYx0HScRijDIEFwGIQmbKiej4DCi" +
"CQQW7OYYRVCNMQSfa8HivJyrcamfp/YBgOBYHb1eLVPR5LwfPCGUw1P6PLxkORZHimK4tSLHV7xVpMIwZFafIQhCCoHomS5NU7UNR0TQUFx9FaGX7rDDsGwLAJ6XRgF4" +
"bg2VpnHePpenAN4bH2GwHFmApSjEGBLnWOpRGOTBZHOegrE6BxPiWVJqCweQrn0LgJAWJBjwgaw1gKO5HmWch5h+fovF+G5bmich4BgfZkB8dynRUVYqiUR5rnmex/F6" +
"N4tn2AJfnebZ3DEXw3HWXgzAyIwgicKJKBKEIhCeCgiHyHYFEmSAFmqBghFIdgSCeIJygYDAyAgJx6AoIINAMOJNCgCZCGoGoLmMCI+CwJoihMNglCCIhzFCUg0EmMhg" +
"hWDBkAiQg9CUY4jEYN4Jk2IxklYJoJHIUg+CSZJSESFwkkkGI+FOFIJEIRhPhMCRJCSVoRrSBhiDgTZjHYT4PEkYhwhgJYm0SaIaiaSYuE+GQNlmCIBGCJxjhiZQ5AkM" +
"hAg6ExJCkPhPguaAiFYUAlAkKZ0g6HoOEmWR/GHcA4m0OwIlIJIHCRgQshGJhpjoaocieaZiC6GAimkUgehIOwnGYGYIGkah6jaE4rg6SpCjKK5rEOMYlGIGIihKOggl" +
"oFoqj6L5aGaBo6CkGIkAQjiPpCAAaJILCTJQlKPACDaXJgmSaJsnCdJ4nygKEoijKQpSmKcqCpKoqysK0rivLAsSyLMtC1LYty4Lkui7LwvS+L8wDBMIwzEMUxjHMgyT" +
"KMszDNM4zzQNE0jTNQ1TWNc2DZNo2zcN03jfOA4TiOM5DlOY5zoOk6jrOw7TuO88DxPI8z0PU9j3Pg+T6Ps/D9P4/0AQFAkDQRBUGQdCEJQpC0MQ1DkPRBEUSRNFEVBh" +
"FkXRhGQ9D6Dxfh+W5gGGd4QH2XQjCmDpFFaKoVB+D5Xmed5+H8YAHnIAh9EwV5Fl0d4MkMKJICmSgygSJAoEmMUCIPgnDCCIOQFYCxJjwFoCcA4kxoF+AIJkAgExegDE" +
"gEYQInAzCUAIOEGgfxiiRDYF1Q4EQ2BSCaEQYwbAiKREMpRSymFNDIAkAxT6oVRgSA2qdVKq1WqvVirMZQUhSCnBUMoIgoQRgnGSIQUgkg1hIHYAkAYMROAmHiLsE4xx" +
"SCxBwEwCQ0wmDdBsE0GYXBtg2CSPMFIuwYiQBYBQeAcwOCnBCCZgw0g0glBONAQgqQThCGgPQGoBQfiRGmOEZIPAXjsBoPAO4HRThhA0EQSA5BAgaCKJIGg3QdhOCmNU" +
"BoQAijTCIF0FwQxpCHDIPAYYMQGgtCmFcaQtRAjZCyFYSojQ2B2BoKwIYFApBXEIBsIQ1QsAWAWEwaA1xCgjAoIAQBAQ=";
exgrid1.Columns.Add("Column");
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exgrid1.EndUpdate();

1034
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 3)

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(3,"gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance.Add(1,"CP:3 -2 -2 2 2");
	var_Appearance.Add(4,"gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
	var_Appearance.Add(2,"CP:4 -2 -2 2 2");
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exGroupLinesAtRoot;
exgrid1.HasButtons = exontrol.EXGRIDLib.ExpandButtonEnum.exCustom;
exgrid1.set_HasButtonsCustom(false,16777216);
exgrid1.set_HasButtonsCustom(true,33554432);
exgrid1.Columns.Add("Column");
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exgrid1.EndUpdate();

1033
How can I change the visual appearance of the +/- buttons, open/close glyphs as current visual theme (method 2)

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(1,"XP:TREEVIEW 2 1");
	var_Appearance.Add(2,"XP:TREEVIEW 2 2");
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exTreeGlyphOpen,0x1000000);
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exTreeGlyphClose,0x2000000);
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.Columns.Add("Column");
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exgrid1.EndUpdate();

1032
How can I find if the control is running in DPI mode
System.Diagnostics.Debug.Print( exgrid1.FormatABC("dpi = 1 ? `normal/stretch mode` : `dpi mode`",null,null,null).ToString() );

1031
How can I change the visual appearance of the +/- buttons (method 1)

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABDwCg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJegef4zluaJ3nqPJeCYH4BAeX5TDLBpVGqKRRnwf4flefZtHsX54BYAR/F+EwVnUd5eAMMJKDIChygyIQpAoEh4iIJ5Jlg" +
"XIcgCXpIGoFwnGEQh6BEKBgmMIICHgIJCAiUAzgyUoAhwJohkiRgygwYpiGoKwzGIcgKCkNQNCMRIbCYCRYk4QoMiOchWDwNBjhiJJaDYTRiGiFwlCQAhOE8JBJHITIR" +
"gwZRZFCFCZBkOIUhKTRpCWAwgGYQ4El4NxlBifIWCcCYCFoaoMGaKYyG6GxlBmGJdhkCAWBIeA5g4U4QhMJAImkPIShRVxGgQJRlCIUISh+SJpnCZIeBgFgiHgO4OlOM" +
"INCISByECDQikkGhuh2JwpmqBogCKaYiC6FwhmkQ4yHgYgYiaHopiuaRakCbIsisSpGjYOwaHYKYMCkK5CA2IxrCwCwFigaJrkLTI6lcdANAEgIA=");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABEICg6AADACAxRDgMQBQKAAzAJBIYhiG4cYCgMZhXDOCYXABCEYRXBIZQ7BKNIxjSJ5BhIAAyDSJMjSRJUEhqGCWYDleYYYAKHIMQLJQKQS" +
"BcQR9EaBZBAWTpQC0OJDTJRI4TNAgbSYAAYRqoCb6loTKypaxjCQQIgkUBpGKdBynEYsDwSGyJCCJWyIbpKAwoVbcs4AYhuJpaQi+d5PFbjVT8dLAMBwLA8EwXAJ+Opf" +
"DxXU7eFKpR5fchXTI8UxXFqXZhkeQrfh7KYVRBKdBQRBEFQPJqnahqOpaXo2RoLUJKcQwHTmHYNQTALyuTALZrWeZ3XrgN74LbtZzVQauYRpbCMEr6bpoWLnFi6Ho1U4" +
"llWah1jqSweFqfxPgQQRphi+Yak0YIuqUfJeg8X4rluaZ3niGB+AQHx/EyShjjEVYqiUR5rnmex/GAB5+AIf4gEeXJFHyXZ3gCTAygyAociMKBKEKBIeCiCZyHYFAnCE" +
"eBkh+BghFgRIegOCgYCySAgh4CAkgINAMmMNIgCcCYjn4LoLmMCJGDKC5ijIagoDMYhCAoJg1A0IxEhsJgJFiThChCY5yFYPA0GOGIYloNhNGIaIXCUJACE4TwkEkchO" +
"FSFYlFkXhUCUCQZEYTglCSMxaEkYJIBmFJhDeDZZEYPwlgmQhghaGqVDoa4bGaeY6FGGZNlmFIBGEJ4jhiZQ5AkMhAg6E5JCkRoGCUSQ6B6CYiSCBIOh+DhJmmARiWQO" +
"JtDsCJSCSBwkXSLIRicaZ6HqIIomoIguhwIpphIHoWDsJ4mCGChpmqOpGheLIOkqUo2iya4DjGJxihiQoSj4IJaDaMpCjCWoGg6PgpBiQ4tHcQJQBAgI=");
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exTreeGlyphOpen,0x1000000);
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exTreeGlyphClose,0x2000000);
exgrid1.Columns.Add("Column");
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root 1");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
	h = var_Items.AddItem("Root 2");
	var_Items.InsertItem(h,null,"Child");
exgrid1.EndUpdate();

1030
I am using single selection, the question is if possible to select an item only when the user releases the mouse, as currently it selects the item as soon as the user clicks it
// SelectionChanged event - Fired after a new item has been selected.
private void exgrid1_SelectionChanged(object sender)
{
	System.Diagnostics.Debug.Print( "SelectionChanged" );
}
//this.exgrid1.SelectionChanged += new exontrol.EXGRIDLib.exg2antt.SelectionChangedEventHandler(this.exgrid1_SelectionChanged);

exgrid1.BeginUpdate();
exgrid1.FreezeEvents(true);
exgrid1.SingleSel = true;
exgrid1.SelectOnRelease = true;
(exgrid1.Columns.Add("Column") as exontrol.EXGRIDLib.Column).FormatColumn = "1 apos `A-Z`";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.set_SelectItem(var_Items.AddItem(""),true);
	var_Items.AddItem("");
exgrid1.FreezeEvents(false);
exgrid1.EndUpdate();

1029
Is it possible to select nothing
// SelectionChanged event - Fired after a new item has been selected.
private void exgrid1_SelectionChanged(object sender)
{
	System.Diagnostics.Debug.Print( "SelectionChanged" );
}
//this.exgrid1.SelectionChanged += new exontrol.EXGRIDLib.exg2antt.SelectionChangedEventHandler(this.exgrid1_SelectionChanged);

exgrid1.BeginUpdate();
exgrid1.FreezeEvents(true);
exgrid1.AllowSelectNothing = true;
(exgrid1.Columns.Add("Column") as exontrol.EXGRIDLib.Column).FormatColumn = "1 apos `A-Z`";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.set_SelectItem(var_Items.AddItem(""),true);
	var_Items.AddItem("");
exgrid1.FreezeEvents(false);
exgrid1.EndUpdate();

1028
How can I specify the color for control's selection when it loses the focus

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("") as exontrol.EXGRIDLib.Column);
	var_Column.AllowSizing = false;
	var_Column.AllowDragging = false;
	var_Column.AllowSort = false;
	var_Column.Width = 24;
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasButton,true);
(exgrid1.Columns.Add("Column") as exontrol.EXGRIDLib.Column).FormatColumn = "1 apos `A-Z`";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.set_SelectItem(var_Items.AddItem(""),true);
	var_Items.AddItem("");
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exSelBackColorHide,Color.FromArgb(196,196,196));
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exSelForeColorHide,Color.FromArgb(0,0,1));
exgrid1.EndUpdate();

1027
How can I change the background color for checked items (EBN color, frame)

// CellStateChanged event - Fired after cell's state has been changed.
private void exgrid1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exgrid1.Refresh();
}
//this.exgrid1.CellStateChanged += new exontrol.EXGRIDLib.exg2antt.CellStateChangedEventHandler(this.exgrid1_CellStateChanged);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.SelBackMode = exontrol.EXGRIDLib.BackModeEnum.exTransparent;
exgrid1.DefaultItemHeight = 22;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABUkIQAAYAQGKIcBiAKBQAGYBIJDEMQ3DjAUBjMK4ZwTC4AIQjCK4JDKHYJRpHEZgLBMJAAGIZYhhUYRUiYMkiJBGGDIDiGGI2SJAcbTVIEc" +
"x9EyUJSgSTJOjCMokTTIU4TTLYASbJafJJhWSaAiyMouDIOMg1BDNIw/Hika6jOgKUisNJXRzWIBTbDlOQ3JqnbCjOQRSrQBoNDAMAiiaKlbwJPK9RoieQXfwUAJrXJc" +
"FqXFSLVxNBKAQEBA=");
	var_Appearance.Add(1,"CP:2 1 1 -1 -1");
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.BackColor32 = 0x1000000;
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellState(hChild,0,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellState(hChild,0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1026
How can I change the caption of the checked items (sample 2)

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "%CS0 = 1 ? `<bgcolor=000000><fgcolor=FFFFFF> ` + value + ` </fgcolor></bgcolor>` : value";
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellState(hChild,0,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellState(hChild,0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1025
How can I change the caption of the checked items (sample 1)

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellValueFormat,1);
	var_Column.FormatColumn = "value + (%CS0 = 1 ? `<r><fgcolor=808080>(checked)` : ``)";
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellState(hChild,0,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellState(hChild,0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1024
How can I change the font for the checked items

// CellStateChanged event - Fired after cell's state has been changed.
private void exgrid1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exgrid1.Refresh();
}
//this.exgrid1.CellStateChanged += new exontrol.EXGRIDLib.exg2antt.CellStateChangedEventHandler(this.exgrid1_CellStateChanged);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.DefaultItemHeight = 22;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%CS0 = 1",null);
	stdole.IFontDisp f = new stdole.StdFont();
		f.Name = exgrid1.Font.Name;
		f.Size = 12;
	var_ConditionalFormat.Font = (f as stdole.IFontDisp);
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellState(hChild,0,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellState(hChild,0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1023
How can I bold the checked items

// CellStateChanged event - Fired after cell's state has been changed.
private void exgrid1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exgrid1.Refresh();
}
//this.exgrid1.CellStateChanged += new exontrol.EXGRIDLib.exg2antt.CellStateChangedEventHandler(this.exgrid1_CellStateChanged);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.Bold = true;
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellState(hChild,0,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellState(hChild,0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1022
How can I change the foreground color for checked items

// CellStateChanged event - Fired after cell's state has been changed.
private void exgrid1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exgrid1.Refresh();
}
//this.exgrid1.CellStateChanged += new exontrol.EXGRIDLib.exg2antt.CellStateChangedEventHandler(this.exgrid1_CellStateChanged);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.SelBackMode = exontrol.EXGRIDLib.BackModeEnum.exTransparent;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.ForeColor = Color.FromArgb(255,128,128);
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellState(hChild,0,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellState(hChild,0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1021
How can I change the background color for checked items (solid color)

// CellStateChanged event - Fired after cell's state has been changed.
private void exgrid1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
	exgrid1.Refresh();
}
//this.exgrid1.CellStateChanged += new exontrol.EXGRIDLib.exg2antt.CellStateChangedEventHandler(this.exgrid1_CellStateChanged);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exgrid1.SelBackMode = exontrol.EXGRIDLib.BackModeEnum.exTransparent;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Tasks") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%CS0 = 1",null);
	var_ConditionalFormat.BackColor = Color.FromArgb(255,128,128);
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Project");
	int hChild = var_Items.InsertItem(h,null,"Task 1");
	var_Items.set_SelectItem(hChild,true);
	hChild = var_Items.InsertItem(h,null,"Task 2");
	var_Items.set_CellState(hChild,0,1);
	hChild = var_Items.InsertItem(h,null,"Task 3");
	var_Items.set_CellState(hChild,0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1020
How can I export the cell's state as well

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	(var_Columns.Add("C1") as exontrol.EXGRIDLib.Column).set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	(var_Columns.Add("C2") as exontrol.EXGRIDLib.Column).FormatColumn = "1 index `A-Z`";
	(var_Columns.Add("C3") as exontrol.EXGRIDLib.Column).FormatColumn = "100 index ``";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item 1");
	var_Items.set_CellState(var_Items.AddItem("Item 2"),null,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),null,1);
exgrid1.EndUpdate();
System.Diagnostics.Debug.Print( "Export CSV Items including Check-State:" );
exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column);
	var_Column.Position = 0;
	var_Column.FormatColumn = "%CS0";
System.Diagnostics.Debug.Print( exgrid1.Export("",null).ToString() );
exgrid1.Columns.Remove("Check");
exgrid1.EndUpdate();

1019
Is it possible to customize the editor selection colour of the built in text editor, from standard blue to black

exgrid1.BeginUpdate();
exgrid1.SelBackColor = Color.FromArgb(0,0,0);
exgrid1.SelForeColor = Color.FromArgb(255,255,255);
exontrol.EXGRIDLib.Editor var_Editor = (exgrid1.Columns.Add("Edit") as exontrol.EXGRIDLib.Column).Editor;
	var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.MaskType;
	var_Editor.Mask = ";;;rich";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Just a text");
	var_Items.AddItem("");
exgrid1.EndUpdate();

1018
Is it possible to customize the editor selection colour of the built in dropdown editor, from standard blue to black

exgrid1.BeginUpdate();
exgrid1.SelBackColor = Color.FromArgb(0,0,0);
exgrid1.SelForeColor = Color.FromArgb(255,255,255);
exontrol.EXGRIDLib.Editor var_Editor = (exgrid1.Columns.Add("DropDown") as exontrol.EXGRIDLib.Column).Editor;
	var_Editor.AddItem(1,"This is just the first item",null);
	var_Editor.AddItem(2,"This is just the second item",null);
	var_Editor.AddItem(3,"This is just the third item",null);
	var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.DropDownType;
	var_Editor.Mask = ";;;rich";
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("");
	var_Items.AddItem("Just a text");
	var_Items.AddItem("");
exgrid1.EndUpdate();

1017
The BeforeExpandItem event is fired when clicking the drop down filter button. What we can do to prevent that
// BeforeExpandItem event - Fired before an item is about to be expanded (collapsed).
private void exgrid1_BeforeExpandItem(object sender,int   Item,ref object   Cancel)
{
	System.Diagnostics.Debug.Print( "BeforeExpandItem" );
	System.Diagnostics.Debug.Print( Item.ToString() );
	System.Diagnostics.Debug.Print( "ColumnFromPoint" );
	System.Diagnostics.Debug.Print( exgrid1.get_ColumnFromPoint(-1,-1).ToString() );
	System.Diagnostics.Debug.Print( "ColumnFromPoint return -1, if the user clicks the +/- glitch, else it returns the index of the column where the click occurs." );
	exgrid1.Items.InsertItem(Item,null,"new child");
}
//this.exgrid1.BeforeExpandItem += new exontrol.EXGRIDLib.exg2antt.BeforeExpandItemEventHandler(this.exgrid1_BeforeExpandItem);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	(var_Columns.Add("Items") as exontrol.EXGRIDLib.Column).DisplayFilterButton = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_ItemHasChildren(var_Items.InsertItem(null,null,"Group 1"),true);
	var_Items.set_ItemHasChildren(var_Items.InsertItem(null,null,"Group 2"),true);
exgrid1.EndUpdate();

1016
How do I change the drop down filter icon/button (black)

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABXUIQAAYAQGKIcBiAKBQAGYBIJDEMgzDDAUBjKKocQTC4AIQjCK4JDKHYJRpHEZyCA8EhqGASRAFUQBYiWE4oSpLABQaK0ZwIGyRIrkGQgQ" +
"gmPYDSDNU4zVIEEglBI0TDNczhNDENgtGYaJqHIYpZBcM40TKkEZoSIITZcRrOEBiRL1S0RBhGcRUHZlWzdN64LhuK47UrWdD/XhdVzXRbjfz1Oq+bxve48Br7A5yYTh" +
"dr4LhOFQ3RjIL4xbIcUwGe6VZhjOLZXjmO49T69HTtOCYBEBA");
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exCursorHoverColumn,-1);
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exBackColorFilter,Color.FromArgb(0,0,1));
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exForeColorFilter,Color.FromArgb(255,255,255));
exgrid1.set_Description(exontrol.EXGRIDLib.DescriptionTypeEnum.exFilterBarExclude,"<bgcolor 0><fgcolor ffffff> Exclude </fgcolor></bgcolor>");
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.None2;
exgrid1.BackColorHeader = Color.FromArgb(0,0,0);
exgrid1.ForeColorHeader = Color.FromArgb(255,255,255);
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Filter") as exontrol.EXGRIDLib.Column);
	var_Column.FilterList = exontrol.EXGRIDLib.FilterListEnum.exShowExclude | exontrol.EXGRIDLib.FilterListEnum.exShowCheckBox;
	var_Column.DisplayFilterButton = true;
	var_Column.AllowSort = false;
	var_Column.AllowDragging = false;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("One");
	var_Items.AddItem("Two");
	var_Items.AddItem("Three");
exgrid1.EndUpdate();

1015
How do I change the drop down filter icon/button (white)

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABX8GACAADACAxSDEMQBQKAAzQFAYbhgHCGAAGQaBUgmFgAQhFcZQSKUOQTDKNYykCIRSDUJYkSZEIyjBI8ExXFqNACkGKwYgmNYiTLAcgAN" +
"J0WBaGIZJ4gOT5fDKMoEDRRYADFCscwxJybQAqGQKKb+VgAVY/cTyBIAEQSKA0TDOQ5TSKWB4JPZQRBEbZMNBtBIUJquKaqShdQJCU5FdY3Xblez9P7AMBwLFEC4NQ8Y" +
"NYuPhjR4dRTIMhvVAsUArFh8Zg9GZZFjmDIDT4ydBLTQwcyVIKnP5qOa6XbmPoCQDYKxZHYxPzVDa3axuL76dqCAT7XrXNy1TbNRrzQKfcJqfCbdw2YaDZLOOT3fjuI4" +
"hhKaRzFAHJ+jYQ4xHuY4gHuGIXGeExqC8Tp6C+PoEm+G5ImycRgh0XwvDGa5rgOeoejyXwnFeQp2mkf5ClgBB9gCWIYAwfYAEKV58mkdwOggNArgOXY2EWLoDkKOA0mg" +
"bhOGgZApgaSBIHWSYHSmbApgYThmESZYJkIeIkgeCpfliLIHgpMIcmUYYYmODAlg2SI4mWfRfGOEguDcCRjFYAJihCQhJBSDoRmONgKEcI4kFCEJhhOVYTmYnAlEAQhW" +
"BMJYJGYWoWmWSR2F6F5lnkWAQhUAgpEieRWEuSYkjWGpmkmNhuhuZwJkYcocmaaYkjyEhngnUA6lEFAlAEgI=");
	var_Appearance.Add(1,"CP:2 -4 -4 2 4");
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exHeaderFilterBarButton,0x1000000);
exgrid1.set_Background(exontrol.EXGRIDLib.BackgroundPartEnum.exCursorHoverColumn,exgrid1.BackColor);
exgrid1.HeaderAppearance = exontrol.EXGRIDLib.AppearanceEnum.None2;
exgrid1.HeaderHeight = 24;
exgrid1.BackColorHeader = Color.FromArgb(255,255,255);
exgrid1.HeaderVisible = true;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Filter") as exontrol.EXGRIDLib.Column);
	var_Column.DisplayFilterButton = true;
	var_Column.AllowSort = false;
	var_Column.AllowDragging = false;
exgrid1.EndUpdate();

1014
How can I draw a solid frame around the the focusing item

exgrid1.BeginUpdate();
exgrid1.SingleSel = false;
exgrid1.DefaultItemHeight = 20;
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.RenderType = 0xffffffff;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABOkGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBKUQSDqEYyjGLIXAWCYSAAMIwDKAUEwpFAZBhgeDYMiSNoYDJCM4wH" +
"IURRJFCUJSGWQpTgSIgyT5HFIxXKoASbJabZLhWS6EpWOotTbIQQRYCkEyfKKfZyGURZQqOKA1DBZErWTJESRFJqLazgO4LAhyQYrVgAErzVKVCRNOqbJzADApdpGQJT" +
"ULDNTQHRFIyhOSnIRrWbMAhid6JUZiVT4dBOIYhSYANAqCwLFqrDJmWrpV5WZjlZ47V6BdAyXJsIrmFJEXaOGhyDDlGybSDZYryfZhUziUw4XjbWwZDqPF6DKTTdSGLR" +
"EE8WZVlURZvDaep3C+AY8kAYRgGCCBJECUhjDoHROEYWgoAGTQ1CEEx9lGMY0CQUYSnuZQDBGBYFlOH5+H+igGAKAJgEgFgGgGVgDn4CoCmCSA2A6A5hAgDgQgSYRIE4" +
"EoFGGCBiBeBhhkgPgbgcYgICoH4IGGWIOCSBhiGiHgVgoYooFoAoLGIWI+DCCgjCiTgrgII4ImYOoOmOSJ2AYOpWlQDQBICA=");
exgrid1.ShowFocusRect = true;
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exShowFocusRect,0x1000000);
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("P1") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1013
The frame around the focusing item is not very clear. Can I show it larger or more cleared (sample 2)

exgrid1.BeginUpdate();
exgrid1.SingleSel = false;
exgrid1.DefaultItemHeight = 20;
exgrid1.ShowFocusRect = true;
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.RenderType = 0xffffffff;
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABPEGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBKUQSDqEYyjGLIXAWCYSAAMIwDKAUEwpFAZBhgeCRUgyJI3RgMUIzV" +
"AcRRFEiUJQlIZZCjOAw0SIMU7xZRcNxsACnaZnCR4NiuRYiUhOcqzRIQIQ4CiEahqOgJbDUJYwWZKAyjBY8XTZFCSJCpeJ6egOc5jRxQUp1WAEXx3GSsJKvCZ5cADBY+" +
"VLQNS0JBtMSTKSLaiuWoIJqCPaDRheWKQJh1NSnLqEcjyYANDxDCZlWzAYxWTZ2Uz7N7PbB0HY4DyPGKZYrfESVRbQcZNS6nNigPI9XhfGq6VjRe63ZaOaYpWrnOJqTR" +
"WjOKYujWdZ2BGO5lkuBAAkmcQkDmDBEAwEQJCgGhMGcQ4pkiSxGAAOYmkQIhvkYNg2gSCgyj+LI4GIMIwF2XQoAYAoAmASAWAaAZgggJgKFiT54DYDoDmECBGBKBJgGg" +
"TgWgWYRoFYGIGmGOBqByB5hCgegggiYJYgoJIICIaIeByChiigYgsgsYYYBYMIKCMKJOCuDRjGiOgLg6Y5InYPoPmQCAkmsXAQDQBCAg=");
	var_Appearance.Add(3,"CP:2 -3 0 3 0");
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exShowFocusRect,0x3010101);
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("P1") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1012
The frame around the focusing item is not very clear. Can I show it larger or more cleared (sample 1)

exgrid1.BeginUpdate();
exgrid1.SingleSel = false;
exgrid1.ShowFocusRect = true;
exontrol.EXGRIDLib.Appearance var_Appearance = exgrid1.VisualAppearance;
	var_Appearance.Add(1,"gBFLBCJwBAEHhEJAAEhABHoDg6AADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFiCCQwSDKEjyCKcGRHF6MI6gOYpCgOIYjRJNIASV" +
"AceAAGaUZrjSgobjmOYhAJCLqhYIgASXJqLaBlOCaAieSc+QhjQJIJoeCZXU5TFg1BTsOhqEqcRiseaRVDCaIJWzbdYWLDdNQHHKYLjnWorbpSJZ5XjNEySDQkMS9PrE" +
"J7vST8FBCdAABLJUB2BR9RwxRafKpnWwJDpmCaOQLXEB5DK1PyVMTKYrtGy7GrIAJxWxbV4UHh+QABOzIMAvHKJMwvHYcUZne5XVLeF41HbONogPaJZyIAK2cLROq6Xo" +
"7GEcJZEcLASB4DwvgWUZlE6AQQhKAYkkYdA6hyDIwHgSoqFwQgmnsYxjGgSIiBOTpSEiAwRgOJI7j4JAHA6U5wm0MpPlOBIjD8TZiGYCICiCGAuA6AxhAgMgSgOYQ4DY" +
"Bg/g6cw1n+ABOmMMJ9DmCwjnScw4RsVJngkYh4hoKIKmKKI2CmC5ikiQgqgiT5jhyMw8g4QwIn0OIKEiCJhD8DwTGyfA7k0WQOEWEQkGkJhIhKZB5DYSoTiSCQEn4PQO" +
"COXJcCeIJjliaIQk0aRyF4O5llmAhfhgZhJg4ZoYiaAxYn4PZOhOZJaCUZYTiYQw1mcOZUm+HQnHmWh4h6Z4pnYeYfk0eYsmqG4nAgNJ2DqD5DkCWoiGiOgqgyI5omoR" +
"oNiSaQKFKEojCaM4ugSFhOjkAJcieKgDkaH4oioGoOiaKRqgqEoqDddwyhuAxPgOMJ8DyDZqk6NYtCsapmjiLprHqdo6i+K5K1oPhOlqPgKD4DpjnII4yiOewuk6MxtA" +
"sMpSjObQ7EaT4wk6ewYn0PgPAiCJkjeLgDk6X44i4G4OmaORuguEpqDkLAzkaWg+E8GIUmaPIvEOVpzj2Lxbl6eo+G+S5in4OYPmOaJyjuTwjnYWpBg6DAjAqQZwkwJw" +
"NkKcJsEcEJCDBEpaD6Dw8BiapGjGSgfB2RpxmyBwgkicZ8haBw/g+M5TBcPQPlOXJskscp8jsMJMnMLJXDGTZzEyYw2kwMoDlcFw9i2M4/EGUJPg0CxFlENBtCcSJSnQ" +
"fQ0m+SgPHsaJ7lALZLG6XZVHWDRfFqVY1k0ZxdladYTnifJUGaeAWAeMnSGcGWgBObJ3lWbwdjKW5cHcTZPHaLkN4GxXDlFqFsA4uRbBOGAFAEIzAsDEFOBkfYqR4D6A" +
"OBEYo8QuBvAmMceInBDgcD0JwOIqQyJ1DMAwG4IANDnHSMoK4QhOgMBGNEIQvQWAdGenETIswGiddsAAQAgCAgA==");
	var_Appearance.Add(2,"gBFLBCJwBAEHhEJAAEhABeEGACAADACAxRDgMQBQKAAzAJBIYhkGYYYCgMZRUDGCYXABCEYRXBIZQ7BKNIxjSJwFgmEgADDFIBQSLAYROGSDJBGODJDjWGIeQLOEhQH" +
"IMRxPE6UYLhWYpBDKPYcUbGc7yBBMVwGf59XzACoKSheQIVSDQkw6Fo6NYhAxHALyNRkBy8f60KjtGpodDUJYvW5JYyjBZ8EznOqbJBkeJ7BgOe5NQjaD72VgdWQJFSW" +
"JajWYYJDOJY2ZAAE5TVINEwxJbDaylChIdxaF6WAzZEBhBYoATPNLBMrhWqKDw2XaQWBCOgwHYeR5LU7BdRwbIrRq2eAAXbcVyXfDddZlBK+QA0SK9lRVTKvJZmKgBWw" +
"1COSxmAAGw4kcNx1iKFBiCAfQsG8lJemucg7nsXpUHOOxrm+DI3jOH4XAOBx2nscw0j2HhPG4L5uGEVIECQCBCEUAYkGMHQHFGSBlGaAxkEgQgTGCVBsDYQhCgQJZrHK" +
"UggGEShkFGNgIlsNpPnMHJHD+TADAIJIJiIWIeCqChikiIgmgiD5zHyXxgiACJKCuC4jHiZgtg6I4IlkCQwkwOIonMPJjEkFhGhGZBpA4KoMBCGJuEiE5lAkGg7hMY4J" +
"EYVoUCUNAOE6FZl0KWQACWOR2GKF5mBmChchkJRZhoXYaCKKYqGuDglEmNhuhWZpIiYc4dCcCRqGmHZlgm2YxAwSQKESHwkFkKgpiAIAIH4PIimOOg2DiChoiQJRRD+T" +
"ZDHCfwyAyCgyg+JpiioYJ/DgDgIlECQ6lwRAEICA=");
	var_Appearance.Add(3,"CP:2 -2 0 2 0");
exgrid1.SelBackColor32 = 0x1000000;
exgrid1.SelForeColor = Color.FromArgb(0,0,0);
exgrid1.set_Background32(exontrol.EXGRIDLib.BackgroundPartEnum.exShowFocusRect,0x3ff0000);
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exLinesAtRoot;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("P1") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Child 1");
	var_Items.InsertItem(h,null,"Child 2");
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1011
I have a column right-aligned. How can I display its check box aligned to the right, as it appears to the left of the cell's caption

exgrid1.BeginUpdate();
exgrid1.ColumnAutoResize = true;
exgrid1.DrawGridLines = exontrol.EXGRIDLib.GridLinesEnum.exVLines;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("Left") as exontrol.EXGRIDLib.Column);
		var_Column.AllowSizing = false;
		var_Column.Width = 96;
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.FormatColumn = "0 pos `A-Z`";
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("Center") as exontrol.EXGRIDLib.Column);
		var_Column1.HeaderAlignment = exontrol.EXGRIDLib.AlignmentEnum.CenterAlignment;
		var_Column1.Alignment = var_Column1.HeaderAlignment;
		var_Column1.AllowSizing = false;
		var_Column1.Width = 96;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.FormatColumn = "0 pos `A-Z`";
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("Right") as exontrol.EXGRIDLib.Column);
		var_Column2.HeaderAlignment = exontrol.EXGRIDLib.AlignmentEnum.RightAlignment;
		var_Column2.Alignment = var_Column2.HeaderAlignment;
		var_Column2.AllowSizing = false;
		var_Column2.Width = 96;
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.FormatColumn = "0 pos `A-Z`";
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellDrawPartsOrder,"caption,check,icon,icons,picture");
	var_Columns.Add("");
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exgrid1.EndUpdate();

1010
Can I display the column's multiple-lines caption vertically oriented (method 2)

exgrid1.BeginUpdate();
exgrid1.HeaderHeight = 48;
exgrid1.ColumnAutoResize = true;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("") as exontrol.EXGRIDLib.Column);
		var_Column.HTMLCaption = "First Column";
		var_Column.HeaderVertical = true;
		var_Column.Width = 36;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column.Position = 0;
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("") as exontrol.EXGRIDLib.Column);
		var_Column1.HTMLCaption = "<c><b>Second Column";
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 36;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column1.Position = 1;
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("") as exontrol.EXGRIDLib.Column);
		var_Column2.HTMLCaption = "<r>Third Column";
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 36;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column2.Position = 2;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exgrid1.EndUpdate();

1009
Can I display the column's multiple-lines caption vertically oriented (method 1)

exgrid1.BeginUpdate();
exgrid1.HeaderHeight = 48;
exgrid1.HeaderSingleLine = false;
exgrid1.ColumnAutoResize = true;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("First Column") as exontrol.EXGRIDLib.Column);
		var_Column.HeaderVertical = true;
		var_Column.Width = 36;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column.Position = 0;
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("Second Column") as exontrol.EXGRIDLib.Column);
		var_Column1.HeaderBold = true;
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 36;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column1.Position = 1;
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("Third Column") as exontrol.EXGRIDLib.Column);
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 36;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellPaddingLeft,8);
		var_Column2.Position = 2;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exgrid1.EndUpdate();

1008
Can I display the column's caption vertically oriented (method 2)

exgrid1.BeginUpdate();
exgrid1.HeaderHeight = 48;
exgrid1.ColumnAutoResize = true;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("") as exontrol.EXGRIDLib.Column);
		var_Column.HTMLCaption = "First";
		var_Column.HeaderVertical = true;
		var_Column.Width = 20;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Position = 0;
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("") as exontrol.EXGRIDLib.Column);
		var_Column1.HTMLCaption = "<c><b>Second";
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 20;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.Position = 1;
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("") as exontrol.EXGRIDLib.Column);
		var_Column2.HTMLCaption = "<r>Third";
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 20;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.Position = 2;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exgrid1.EndUpdate();

1007
Can I display the column's caption vertically oriented (method 1)

exgrid1.BeginUpdate();
exgrid1.HeaderHeight = 48;
exgrid1.ColumnAutoResize = true;
exontrol.EXGRIDLib.Columns var_Columns = exgrid1.Columns;
	var_Columns.Add("And others ...");
	exontrol.EXGRIDLib.Column var_Column = (var_Columns.Add("First") as exontrol.EXGRIDLib.Column);
		var_Column.HeaderVertical = true;
		var_Column.Width = 20;
		var_Column.AllowSizing = false;
		var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column.Position = 0;
	exontrol.EXGRIDLib.Column var_Column1 = (var_Columns.Add("Second") as exontrol.EXGRIDLib.Column);
		var_Column1.HeaderBold = true;
		var_Column1.HeaderVertical = true;
		var_Column1.Width = 20;
		var_Column1.AllowSizing = false;
		var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column1.Position = 1;
	exontrol.EXGRIDLib.Column var_Column2 = (var_Columns.Add("Third") as exontrol.EXGRIDLib.Column);
		var_Column2.HeaderVertical = true;
		var_Column2.Width = 20;
		var_Column2.AllowSizing = false;
		var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
		var_Column2.Position = 2;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellState(var_Items.AddItem("Item 1"),3,1);
	var_Items.set_CellState(var_Items.AddItem("Item 2"),2,1);
	var_Items.set_CellState(var_Items.AddItem("Item 3"),1,1);
exgrid1.EndUpdate();

1006
How do I automatically bold items being checked

// CellStateChanged event - Fired after cell's state has been changed.
private void exgrid1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
}
//this.exgrid1.CellStateChanged += new exontrol.EXGRIDLib.exg2antt.CellStateChangedEventHandler(this.exgrid1_CellStateChanged);

exgrid1.BeginUpdate();
exgrid1.SelBackMode = exontrol.EXGRIDLib.BackModeEnum.exTransparent;
exontrol.EXGRIDLib.ConditionalFormat var_ConditionalFormat = exgrid1.ConditionalFormats.Add("%CS0","check");
	var_ConditionalFormat.Bold = true;
(exgrid1.Columns.Add("Items") as exontrol.EXGRIDLib.Column).set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
(exgrid1.Columns.Add(exgrid1.ConditionalFormats["check"].Expression) as exontrol.EXGRIDLib.Column).FormatColumn = exgrid1.ConditionalFormats["check"].Expression;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Item 1");
	var_Items.set_CellState(var_Items.AddItem("Item 2"),0,1);
	var_Items.AddItem("Item 3");
exgrid1.EndUpdate();

1005
How can I use the CellState with ConditionalFormat/ComputedField/FormatColumn

// CellStateChanged event - Fired after cell's state has been changed.
private void exgrid1_CellStateChanged(object sender,int   Item,int   ColIndex)
{
}
//this.exgrid1.CellStateChanged += new exontrol.EXGRIDLib.exg2antt.CellStateChangedEventHandler(this.exgrid1_CellStateChanged);

exgrid1.BeginUpdate();
exgrid1.LinesAtRoot = exontrol.EXGRIDLib.LinesAtRootEnum.exGroupLinesInsideLeaf;
exgrid1.SelBackMode = exontrol.EXGRIDLib.BackModeEnum.exTransparent;
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Items") as exontrol.EXGRIDLib.Column);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
	var_Column.PartialCheck = true;
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Format") as exontrol.EXGRIDLib.Column);
	var_Column1.FormatColumn = "%CS0";
	var_Column1.Caption = var_Column1.FormatColumn;
	var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exHeaderForeColor,var_Column1.get_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor));
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	int h = var_Items.AddItem("Root");
	var_Items.InsertItem(h,null,"Item 1");
	var_Items.set_CellState(var_Items.InsertItem(h,null,"Item 2"),0,1);
	var_Items.set_CellState(var_Items.InsertItem(h,null,"Item 3"),0,1);
	var_Items.set_ExpandItem(h,true);
exgrid1.EndUpdate();

1004
How can I use the CellData with ConditionalFormat/ComputedField/FormatColumn

exgrid1.BeginUpdate();
exgrid1.Columns.Add("Items");
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Format") as exontrol.EXGRIDLib.Column);
	var_Column.FormatColumn = "%CD0";
	var_Column.Caption = var_Column.FormatColumn;
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exHeaderForeColor,var_Column.get_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor));
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.set_CellData(var_Items.AddItem("Item 1"),0,1234);
	var_Items.set_CellData(var_Items.AddItem("Item 2"),0,"this is just an user data");
	var_Items.set_CellData(var_Items.AddItem("Item 3"),0,Convert.ToDateTime("1/1/2001",System.Globalization.CultureInfo.GetCultureInfo("en-US")));
exgrid1.EndUpdate();

1003
How can I use the CellValue/CellCaption with ConditionalFormat/ComputedField/FormatColumn

exgrid1.BeginUpdate();
exontrol.EXGRIDLib.Column var_Column = (exgrid1.Columns.Add("Items") as exontrol.EXGRIDLib.Column);
	exontrol.EXGRIDLib.Editor var_Editor = var_Column.Editor;
		var_Editor.EditType = exontrol.EXGRIDLib.EditTypeEnum.DropDownListType;
		var_Editor.AddItem(1,"Item 1",null);
		var_Editor.AddItem(2,"Item 2",null);
		var_Editor.AddItem(3,"Item 3",null);
exontrol.EXGRIDLib.Column var_Column1 = (exgrid1.Columns.Add("Format") as exontrol.EXGRIDLib.Column);
	var_Column1.FormatColumn = "%0";
	var_Column1.Caption = var_Column1.FormatColumn;
	var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column1.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exHeaderForeColor,var_Column1.get_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor));
	var_Column1.AllowSizing = false;
exontrol.EXGRIDLib.Column var_Column2 = (exgrid1.Columns.Add("Format") as exontrol.EXGRIDLib.Column);
	var_Column2.FormatColumn = "%C0";
	var_Column2.Caption = var_Column2.FormatColumn;
	var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor,8421504);
	var_Column2.set_Def(exontrol.EXGRIDLib.DefColumnEnum.exHeaderForeColor,var_Column2.get_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellForeColor));
	var_Column2.AllowSizing = false;
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem(1);
	var_Items.set_CellValue(var_Items.AddItem(0),0,2);
	var_Items.AddItem(2);
exgrid1.EndUpdate();

1002
Can I display the radio-button with a solid color

exgrid1.BeginUpdate();
exgrid1.set_RadioImage(false,32699122);
exgrid1.set_RadioImage(true,16777216);
(exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column).set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasRadioButton,true);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Radio 1");
	var_Items.set_CellState(var_Items.AddItem("Radio 2"),0,1);
	var_Items.AddItem("Radio 1");
exgrid1.EndUpdate();

1001
Can I display the check-box with a solid color

exgrid1.BeginUpdate();
exgrid1.set_CheckImage(exontrol.EXGRIDLib.CheckStateEnum.Unchecked,32699122);
exgrid1.set_CheckImage(exontrol.EXGRIDLib.CheckStateEnum.Checked,16777216);
(exgrid1.Columns.Add("Check") as exontrol.EXGRIDLib.Column).set_Def(exontrol.EXGRIDLib.DefColumnEnum.exCellHasCheckBox,true);
exontrol.EXGRIDLib.Items var_Items = exgrid1.Items;
	var_Items.AddItem("Check 1");
	var_Items.set_CellState(var_Items.AddItem("Check 2"),0,1);
	var_Items.AddItem("Check 3");
exgrid1.EndUpdate();